<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>

</html>
<script>
  // 4、打印1-100中7的倍数 和 带7的数字（7,14,17,21,27,28.....）
  for (var i = 1; i <= 100; i++) {
    if (i % 7 == 0 || i % 10 == 7 || (parseInt(i / 10) % 7 == 0) && parseInt(i / 10) != 0) {
      console.log(i);
    }
  }
</script>